import request from '@/utils/request'

const baseURL = '/record'

/** 分页查询报表操作历史 */
/**
 *
 * @param {{
 * year: string | number
 * quarter: string | number
 * tableId: string | number
 * pageNumber: number
 * pageSize: number
 * tenantId: string | number
 * eventType: string | number
 * }} params
 * @returns
 */
export function getReportHistory (params) {
  return request({
    url: `${baseURL}/report/page`,
    method: 'get',
    params
  })
}
